import request from '@/utils/request'

// 获取Dashboard概览数据
export function getStatisticsOverview() {
  return request({
    url: '/statistics/overview',
    method: 'get'
  })
}

// 获取用户增长趋势
export function getUserTrend(params) {
  return request({
    url: '/statistics/user-trend',
    method: 'get',
    params
  })
}

// 获取订单统计
export function getOrderStats(params) {
  return request({
    url: '/statistics/order-stats',
    method: 'get',
    params
  })
}

